    <div>
        <h2>Placer les élèves en STP</h2>

        <div class="row">
            <div class="span6">
                <label for="room">Salle</label> <select id="selectedroom" name="room">
	                <option value=""selected="selected" disabled="disabled">Selectionnez votre salle</option>
                    <?php foreach ($rooms as $room):?>

                    <option value="<?php echo $room['name'];?>">
                        <?php echo $room['name'];if($room['special']==1)echo '*'?>
                    </option><?php endforeach ?>
                </select>
            </div>

            <div class="span3">
                <label for="class">Classe</label> <select id="selectedclass" name="class">
	                <option value="" selected="selected" disabled="disabled">Selectionnez votre classe</option>
                    <?php foreach ($classes as $class):?>

                    <option>
                        <?php echo $class['name']?>
                    </option><?php endforeach ?>
                </select>
            </div>
        	<div class="span3">
        		<label for="date">Date</label><input type="text" value="<?php echo date("d/m/Y"); ?>" data-date-format="dd/mm/yyyy" id="date">
        	</div>
        </div>
        
        <div id="stpmanagement" class="row">
            <div id="entries" class="span6">
		        <ol id="entriesdata">
			    </ol>
            </div>
            <div id="pupils" class="span6">
		        <ol id="pupilsdata">
			    </ol>
            </div>
        </div>
    </div>

<div id="modalUnauthorised" class="modal hide fade">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h3>Annuler inscription</h3>
  </div>
  <div class="modal-body">
    <p>Voulez ne pouvez pas annuler l'inscription d'un élève d'une autre classe que celle sélectionnée.</p>
  </div>
  <div class="modal-footer">
    <a id="ok" href="#" class="btn btn-primary">OK</a>
  </div>
</div>  
    
<div id="modalConfirm" class="modal hide fade">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h3>Annuler inscription</h3>
  </div>
  <div class="modal-body">
    <p>Voulez-vous annuler l'inscription de <span id="pupilname"></span> en STP le <span id="entrydate"></span>?</p>
  </div>
  <div class="modal-footer">
    <a id="cancel" href="#" class="btn">Annuler</a>
    <a id="confirm" href="#" class="btn btn-primary">Oui</a>
  </div>
</div>    